# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit x-modular git autotools

DESCRIPTION="Radeon HD (AMD GPG r5xx/r6xx Chipsets) video driver (git)"
HOMEPAGE="http://wiki.x.org/wiki/radeonhd"
SRC_URI=""

EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

RDEPEND=">=x11-base/xorg-server-1.3"

DEPEND="${RDEPEND}
	x11-proto/randrproto
	x11-proto/renderproto
	x11-proto/videoproto
	x11-proto/xextproto
	x11-proto/xproto
	x11-proto/fontsproto"

src_compile() {
	eautoreconf || die "eautoreconf failed"

	x-modular_src_compile
}

pkg_postinst() {
	ewarn "DO NOT report bugs to Gentoo's bugzilla"
	ewarn "Visit http://wiki.x.org/wiki/radeonhd for more info."
}

